﻿$(document).ready(function () {

    $("a[rel='pop-up']").click(function () {
        var caracteristicas = "height=300,width=400,scrollTo,resizable=1,scrollbars=1,location=0";
        nueva = window.open(this.href, 'Popup', caracteristicas);
        return false;
    });

    $("#result").dialog({
            autoOpen: false,
            title: 'Title',
            width: 500,
            height: 'auto',
            modal: true
        });
    });
    function openPopup() {
        $("#result").dialog("open");
    }

});


